-- GENERATED SPELL FOR [Shadumbra] --


function spell0_12677(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13445,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12677', 15000, 1)
end

function Sorts_12677(pUnit, Event)
local choix_sorts_12677 = math.random(0, 0)
if choix_sorts_12677 == 0 then
pUnit:RegisterEvent('spell0_12677', 1, 1)
end
end

function mob12677_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12677', math.random(1500, 3000), 1)
end

function mob12677_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12677_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12677_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12677, 1, 'mob12677_Action')
RegisterUnitEvent(12677, 2, 'mob12677_Leave')
RegisterUnitEvent(12677, 3, 'mob12677_Kill')
RegisterUnitEvent(12677, 4, 'mob12677_Die')
